import http from "@/utils/request";

export default{
    /**
     * 查询列表
     * @param  params
     * @returns
     */
    async getFdfxtList(params){
        return await http.get("/api/fdfxtrb/list",params);
    },
    /**
    * 添加
    * @returns
    */
    async addFdfxt(params){
        return await http.post("/api/fdfxtrb/add",params)
    },
    /**
    * 修改
    * @returns
    */
    async updateFdfxt(params){
        return await http.put("/api/fdfxtrb/update",params)
    },

    //删除
    async delete(params) {
        return await http.delete('api/fdfxtrb/delete', params);

    },
    //批量删除
    async Bdelete(params) {
        return await http.post('/api/fdfxtrb/batchDelete', params);

    },
    async getJcjzdList(params){
      return await http.get("/api/pcWellIntermittentTakeInstitution/list",params);
    },


    async listToFdfxtrb(params){
      return await http.get("/api/scxtrjlsj/listToFdfxtrb",params);
    },
}
